package cn.edu.ujn.booksshop.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.Stock;
import cn.edu.ujn.util.Page;

public interface IStockService {

	int deleteByPrimaryKey(Integer stockid);

    int insert(Stock row);

    int insertSelective(Stock row);

    Stock selectByPrimaryKey(Integer stockid);

    int updateByPrimaryKeySelective(Stock row);

    int updateByPrimaryKey(Stock row);
    
    Page<Stock> selectAll(Integer page,Integer rows);

    Integer selectStockListCount();
}
